<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html lang="en-US" xmlns="http://www.w3.org/1999/xhtml" dir="ltr">
	<head>
		<meta name="author" content="Bardelle Renzo"/>
		<title>Registrazione</title>
		<meta http-equiv="Content-type" content="text/html" />
		<link rel="shortcut icon" href="css/images/favicon.ico" />
		<link rel="stylesheet" href="css/style_global.css" type="text/css" media="all" />
		<link rel="stylesheet" href="css/registrazione.css" type="text/css" media="all" />
		<script type="text/javascript">
			<% if(session.getAttribute("utente")!=null) out.print("window.location=\"../index.jsp\";"); %>
		</script>		
		<script type="text/javascript" src="jQuery/jquery-1.9.1.min.js"></script>
		<script type="text/javascript" src="js/registrazione.js"></script>
	</head>
	<body>
		<div id="wrapper">
    		<h1 id="logo"><a href="index.jsp" title="Hesperia.com" ></a></h1>
			<!-- LOGIN MENU -->
			<jsp:include page="login_menu.jsp"/>
			<!-- End LOGIN MENU -->
			<!-- MENU -->
			<jsp:include page="nav_menu.jsp"/>
			<!-- End MENU -->
    		
    		<div class="shell">
        		<!-- Main -->
        		<div id="main">
            		<!-- Box-Holder-->
            		<div class="box-holder">
	            		<div class="box-top"></div>
	                	<div class="box">
							
							<!-- REGISTRAZIONE -->	
							<div id="form-content-div">
								<div id="form-title">Registrazione nuovo utente</div><br/><br/>
								<div id="messaggi-utente"></div><br/>
								<form name="registration-form" action="" onsubmit="return validateRegistration()">
									<table id="form-table">
										<tr><td>Nome:</td><td> <input id="nome" type="text" name="nome" onblur="checkNome()"/></td></tr>
										<tr><td>Cognome:</td><td><input id="cognome" type="text" name="cognome" onblur="checkCognome()"/></td></tr>
										<tr><td>Email:</td><td> <input id="email" type="text" name="email" onblur="checkMail()"/></td></tr>										
										<tr><td>Password:</td><td><input id="password" type="password" name="password" onblur="checkPW()"/></td></tr>
										<tr><td>Codice Fiscale:</td><td> <input id="codfiscale" type="text" name="codfiscale" onblur="checkCF()"/></td></tr>
										<tr><td>N. Carta di credito:</td><td> <input id="cartacredito" type="text" name="cartacredito" onblur="checkCC()"/> *</td></tr>
										<tr><td>Iscrivimi alla newsletter:</td><td><input id="newsletter" type="checkbox" name="newsletter" checked/></td></tr>
										<tr><td></td><td><br/><input id="submit" type="submit" value="Conferma"/></td></tr>
										<tr><td>*<small>campo opzionale</small></td><td></td></tr>
									</table>
								</form>
							</div>
							<!-- END REGISTRAZIONE -->
						
						</div>
	            		<div class="box-bottom"></div>
	        		</div>
            		<!-- End Box-Holder -->
        		</div>
        		<!-- End Main -->
        		<!-- Footer -->
				<jsp:include page="footer.html"/>
        		<!-- end Footer -->	
        	</div>
        	<!-- End Shell -->
        </div>
        <!-- End Wrapper -->
	</body>
</html>